package com.ghy.service;

import com.ghy.dto.ReportInsertDTO;
import com.ghy.dto.ReportPageDTO;
import com.ghy.dto.ReportUpdateDTO;
import com.ghy.entity.Report;
import com.ghy.vo.ReportSimpleListVO;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.ghy.entity.Report;

import java.util.List;

/**
 * 举报表 服务层。
 *
 * @author ghy
 * @since 2024-12-22
 */
public interface ReportService extends IService<Report> {

    boolean insert(ReportInsertDTO dto);
    Report select(Long id);
    List<ReportSimpleListVO> simpleList();
    Page<Report> page(ReportPageDTO dto);
    boolean update(ReportUpdateDTO dto);
    boolean delete(Long id);
    boolean deleteBatch(List<Long> ids);
    boolean deleteByUserId(Long id);
    boolean deleteByUserIds(List<Long> userIds);

}
